<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<script>
		var js0 = function() {
			console.log('js0无参')
		}
		js0();
		/* var es0 = () => {
			console.log("esc无参")
		}
		es0(); */
		var es0 = () => console.log("es0无参");
		es0();
		var js1=function(arg ){
			return arg;
		}
		console.log(js1("一个js1"));
		
		var es1=arg => arg;
		console.log(es1("一个es1"));
		
		var js2 = () =>console.log("1");
		js2();
		var es2 = arg =>arg;
		console.log(es2("2"));
		
		var es3 = (a,b) =>a+b;
		console.log(es3(20,30));
		
	</script>
	<body>
	</body>
</html>
